# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from mongoengine import *
from django.db import models

# Create your models here.
conn = connect("tarot", host='127.0.0.1', port=27017)


class ScriptInfo(Document):
    name = StringField(required=True, max_length=200)
    path = StringField(required=True, max_length=200)
    param = StringField(max_length=200)


class JsonInfo(Document):
    my_json = StringField(required=True)